com.supermap.armap.armapping
Interface GestureListener
-
public interface GestureListener
ARControl gesture event listening interface
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description void
onDoubleClick()
Double-click the callbackvoid
onEnd()
End of eventvoid
onMove(double x, double y, double moveX, double moveY, double velocityX, double velocityY)
One-finger movementvoid
onSingleClick()
Single-click callbacksvoid
onStart()
The event begins
-
-
-
Method Detail
-
onStart
void onStart()
The event begins
-
onEnd
void onEnd()
End of event
-
onMove
void onMove(double x, double y, double moveX, double moveY, double velocityX, double velocityY)
One-finger movement- Parameters:
x
- coordinates of the current touch point in the x view coordinate systemy
- view the y coordinates of the current touch point in the coordinate systemx-direction
- displacement relative to the previous onMove callback in the moveX View coordinate systemThe
- y-direction displacement relative to the previous onMove callback in the moveY View coordinate systemThe
- average velocity in the x-direction relative to the last onMove callback in the velocityX View coordinate system, in px/msThe
- average velocity in the y direction relative to the last onMove callback in the velocityY View coordinate system, in px/ms
-
onSingleClick
void onSingleClick()
Single-click callbacks
-
onDoubleClick
void onDoubleClick()
Double-click the callback
-
-